html {
	font-family: "microsoft yahei", 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 14px;
	/* overflow-x: hidden; */
	-webkit-font-smoothing: antialiased;
}

html,
body {
	width: 100%;
	height: 100%;
	overflow: auto;
	background: #e8e8e8;
}

html,
body,
ul,
p,
h1,
h2,
h3,
h4,
h5,
h6 {
	padding: 0;
	margin: 0;
}

a {
	color: inherit;
	text-decoration: none;
	-webkit-tap-highlight-color: transparent;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
}

a:focus {
	outline-style: none;
	-moz-outline-style: none;
}

a cite {
	font-style: normal;
	*cursor: pointer;
}

ul {
	list-style: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

/*滚动条整体样式*/
::-webkit-scrollbar {
	/* display: none; */
	width: 4px;
	/*对垂直流动条有效*/
	height: 4px;
	/*对水平流动条有效*/
	background-color: rgba(255, 255, 255, 1);
}

/*定义滑块颜色、内阴影及圆角*/
::-webkit-scrollbar-thumb {
	border-radius: 2px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	background-color: rgba(151, 151, 151, .5);
}

/*滚动条里面轨道*/
::-webkit-scrollbar-track {
	background-color: transparent;
	width: 4px;
}

.ellipsis {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.text-right {
	text-align: right;
}

.float-left {
	float: left;
}

.float-right {
	float: right;
}

.fun-area {
	position: absolute;
	top: 0;
	right: 0;
	font-size: 12px;
	overflow: hidden;
	display: none;
}

.fun-area .i-box {
	float: left;
	margin-left: 24px;
	width: 26px;
	height: 26px;
	line-height: 26px;
	text-align: center;
	cursor: pointer;
}

.fun-area .i-box.min:hover,
.fun-area .i-box.max:hover {
	background-color: rgba(230, 230, 230, 1);
}

.fun-area .i-box.close:hover {
	background-color: rgba(255, 48, 48, 1);
	color: #fff;
}

.g-chat-wrap {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	font-size: 14px;
}

.m-chat-header {
	position: relative;
	height: 64px;
	line-height: 64px;
	padding-left: 30px;
	background-color: rgba(250, 250, 250, 1);
}

.m-chat-header .chat-nickname {
	font-size: 20px;
	color: #323232;
	font-weight: 600;
}

/* 聊天内容 */
.m-chat-body {
	position: absolute;
	top: 64px;
	right: 0;
	bottom: 180px;
	left: 0;
	background-color: #F5F5F5;
	overflow: auto;
}

.m-chat-body .view-more-box {
	padding: 10px 0;
	font-size: 12px;
	text-align: center;
}

.m-chat-body .view-more {
	color: #3CB997;
	cursor: pointer;
	display: none;
}

.m-chat-body .view-more i {
	margin-right: 2px;
	vertical-align: -2px;
	font-size: 14px;
}

.m-chat-body .chat-list {
	padding: 0 20px;
}

.clearfix:after {
	content: " ";
	visibility: hidden;
	display: block;
	height: 0;
	clear: both;
}

.chat-list .chat-item {
	position: relative;
	height: auto;
	margin-bottom: 20px;
	margin-top: 20px;
	/* overflow: hidden; */
	padding-left: 60px;
}

.chat-list .chat-time {
	margin: 20px 0;
	color: #CFCFCF;
	text-align: center;
}

.chat-item .avatar {
	position: absolute;
	top: 0;
	left: 0;
	width: 44px;
	height: 44px;
	cursor: pointer;
}

.chat-item .avatar img {
	width: 100%;
	height: 100%;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}

.chat-item .chat-cont {
	/* position: absolute;
    top:0;
    left: 60px; */
	position: relative;
	width: fit-content;
	width: -webkit-fit-content;
	width: -moz-fit-content;
	max-width: 500px;
	padding: 12px;
	border-radius: 6px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	/* background-color: #DFEAE6; */
	background-color: #fff;
	font-size: 14px;
	color: #323232;
	word-wrap: break-word;
	word-break: break-all;
}

.chat-item .chat-cont.has-img {
	padding: 0;
}

.chat-item .chat-cont.has-img .triangle {
	display: none;
}

.chat-item .chat-cont .triangle {
	position: absolute;
	top: 10px;
	left: -6px;
	width: 0;
	height: 0;
	border-top: 6px solid transparent;
	border-bottom: 6px solid transparent;
	border-right: 6px solid #fff;
}

.chat-cont .cont {
	min-height: 19px;
}

.chat-cont .cont img {
	width: 110px;
	/* max-width: 350px;
    max-height: 240px; */
	display: block;
	border-radius: 6px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	cursor: pointer;
}

.chat-cont .cont img.emoji-reg {
	width: 19px;
	height: 19px;
	vertical-align: text-bottom;
	display: inline-block;
	cursor: pointer;
}

/* 消息为自己时的样式 */
.chat-list .chat-item.self .chat-cont {
	float: right;
	left: -60px;
	background-color: #98E165;
}

.chat-list .chat-item.self .chat-cont .triangle {
	left: unset;
	right: -6px;
	border-right: none;
	border-left: 6px solid #98E165;
}

.chat-list .chat-item.self .msg-unsend {
	position: absolute;
	top: 50%;
	left: -40px;
	transform: translateY(-50%);
}

.chat-list .chat-item.self .msg-unsend img {
	width: 40px;
	height: 40px;
}

.chat-list .chat-item.self .msg-unsend img.failed {
	width: 20px;
	height: 20px;
}

.chat-list .chat-item.self .avatar {
	left: unset;
	right: 0;
}


/* 滚动内容区样式 */
.scroll_wrap,
.scoll_contact_wrap {
	width: 100%;
	height: 100%;
	position: relative;
}

/* 滚动内容样式 */
.scroll_wrap .scroll_cont,
.scoll_contact_wrap .scoll_contact_cont {
	height: 100%;
	overflow: hidden;
}

/* 滚动条 */
.scroll_wrap .scroll_bar,
.scoll_contact_wrap .scoll_contact_bar {
	position: absolute;
	top: 0;
	right: 0;
	width: 4px;
	height: 100%;
	background-color: #F5F5F5;
}

/* 滚动块 */
.scroll_wrap .scroll_slider,
.scoll_contact_wrap .scoll_contact_slider {
	position: absolute;
	top: 0;
	left: 0px;
	width: 4px;
	/* height: 48px; */
	background-color: rgba(151, 151, 151, 1);
	border-radius: 4px;
	opacity: .5
}

.scroll_wrap .scroll_slider:hover,
.scoll_contact_wrap .scoll_contact_slider:hover {
	opacity: 1
}

/* 自定义上传文件显示图片 */
.ke-toolbar {
	padding: 2px 12px !important;
}

.ke-toolbar .ke-outline {
	margin-left: 12px !important;
}

.ke-toolbar-icon-url {
	background-image: none !important;
}

[data-name="emoticons"] {
	background: url('../assets/images/emoji.png') no-repeat center center;
	background-size: 16px 16px;
	background-position: 0 0 !important;
}

[data-name="insertfile"] {
	background: url('../assets/images/file.png') no-repeat center center;
	background-size: 16px 16px;
	background-position: 0 0 !important;
}

/* [data-name="image"] {
	background: url('../assets/images/emoji.png') no-repeat center center;
	background-size: 16px 16px;
	background-position: 0 0 !important;
} */